package com.test.demo;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

@Service
public class Logtest {

	private Logger logger = Logger.getLogger(getClass());
	
	void testlog() {
		logger.info("输出info");
		logger.debug("输出debug");
		logger.error("输出error");
	}
	
}
